<template>
  <div>
    <h3>HelloWorld - {{ count }}</h3>
  </div>
</template>
<!-- 
<script setup>
import { ref } from 'vue'

const count = ref(10)
</script> -->

<script>
import { ref } from 'vue'

export default {
  // data() {
  //   return {
  //     count: 10
  //   }
  // },
  setup(props, { expose }) {
    const count = ref(10)

    expose({
      count
    })

    return {
      count
    }
  }
  // expose: ['count']
}
</script>
